package com.shuimin.as.model.repair;

import pond.common.S;
import pond.db.Model;

/**
 * Created by sky on 2017/7/21.
 */
public class AsVehicle extends Model {
    {
        /**
         * id VARCHAR(64) PRIMARY KEY ,
         license_plate VARCHAR(20),
         vin VARCHAR(25),
         brand VARCHAR(30),
         model VARCHAR(50),
         version VARCHAR(50),
         mileage DOUBLE(10,2),
         create_time BIGINT(20)
         */
        table("t_as_vehicle");
        id("id");
        field("license_plate");
        field("vin");
        field("brand");
        field("model");
        field("version");
        field("mileage");
        field("create_time").init(S::now);

    }
}
